package team.newexcellence.tsfitness.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import team.newexcellence.tsfitness.pojo.Food;
import team.newexcellence.tsfitness.dao.FoodDao;
import team.newexcellence.tsfitness.pojo.Recipes;
import team.newexcellence.tsfitness.service.FoodService;


import java.util.List;
import java.util.Map;

/**
* @Description:    食物服务层接口的实现类
* @Author:         liningbo
* @CreateDate:     2018/8/1 16:25
* @UpdateUser:     liningbo
* @UpdateDate:     2018/8/1 16:25
* @UpdateRemark:   修改内容
* @Version:        1.0
*/
@Service
public class FoodServiceImpl implements FoodService {
    @Autowired
    private FoodDao foodDao;

    static int foodID;

    @Override
    public List<Food> fingAllFood() throws Exception {
        return null;
    }

    @Override
    public Recipes lookMyRecipes(int userID) throws Exception {
        return null;
    }

    @Override
    public List<Food> findFoodByNutrition(String nutrition) throws Exception {
        return null;
    }

    @Override
    public Map<String, Double> findNutritionByFoodName(String foodName) throws Exception {
        return null;
    }

    @Override
    public Integer addFoodToRecipes(int foodID, int userID) throws Exception {
        return null;
    }

    @Override
    public Food findFoodByID(int foodID) throws Exception {
        return null;
    }
}
